#ifndef _SSS_COARSEN_H_
#define _SSS_COARSEN_H_

#include "../../Main/include/SSS_main.cuh"
#include "../../Main/include/SSS_matvec.h"
#include "../../Main/include/SSS_utils.cuh"

#if defined (__cplusplus)
extern "C"
{
#endif    

int SSS_amg_coarsen(SSS_MAT *A, SSS_IVEC *vertices, SSS_MAT *P, SSS_IMAT *S, SSS_AMG_PARS *pars);

int SSS_amg_coarsen_RAPtor_GPU(SSS_MAT *A,  SSS_MAT *P, SSS_IMAT *S, double *weights,SSS_AMG_PARS *pars);

SSS_IVEC SSS_amg_agg_GPU(SSS_MAT *A, SSS_MAT *P, SSS_IMAT *S,SSS_AMG_PARS *pars);



#if defined (__cplusplus)
}
#endif

#endif